/*********************\
* Author:Dzlua
* QQ:505544956
* Time:2017/03/23
\**********************/
#ifndef __APP_H__
#define __APP_H__
#pragma once

#include "common.h"

#define DECLARE_WND(wndname)\
    public:\
        static void Show##wndname();\
        static wndname* Get##wndname() { return m_##wndname; }\
        static void Release##wndname() { m_##wndname = nullptr; }\
    protected:\
        static wndname* m_##wndname;

class FloatBtn;
class NewOpen;

class App
{
    DECLARE_WND(FloatBtn);
    DECLARE_WND(NewOpen);
};

#endif //__APP_H__
